package com.xzmd.md_city.entity;

/**
 * @Author Coday
 * @Date 2021-7-9
 * 订单基本信息实体类
 */
public class OrderInfo {
//    订单编号
    private int id;
//    用户的id,这里是用户基本表的外键
    private int userid;
//    订单状态：已支付，未支付
    private String status;
//    下单时间
    private  String ordertime;
//构造器与get/set方法
    public OrderInfo() {
    }

    public OrderInfo(int id, int userid, String status, String ordertime) {
        this.id = id;
        this.userid = userid;
        this.status = status;
        this.ordertime = ordertime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(String ordertime) {
        this.ordertime = ordertime;
    }
}
